package File_Visitor_18.File;

import File_Visitor_18.AbstractFile;
import File_Visitor_18.FileVisitor;

public class AudioFile extends AbstractFile {
    private final String name;

    public AudioFile(String name) {
        this.name = name;
    }

    public void accept(FileVisitor fileVisitor) {
        fileVisitor.scan(this);
    }

    public String getName(){
        return name;
    }
}
